package com.ssy.lingxi.component.rabbitMQ.constants;

import java.io.Serializable;

/**
 * 消息队列常量类
 *
 * @author jw.chen
 * @version 2.0.0
 * @date 2020/7/29
 */
public class MessageConstants implements Serializable {
    private static final long serialVersionUID = -2090089233518935094L;

    /**
     * websocket消息
     */
    public final static String ws_deliver_message_queue = "ws_deliver_message_queue";
    public final static String ws_deliver_message_exchange = "ws_deliver_message_exchange";

    /**
     * 会员资金账户充值
     */
    public final static String pay_recharge_queue = "pay_recharge_queue";
    public final static String pay_recharge_exchange = "pay_recharge_exchange";
    public final static String pay_recharge_routingKey = "pay_recharge_routingKey";

    /**
     * 会员资金账户充值--延迟队列
     */
    public final static String pay_recharge_delay_queue = "pay_recharge_delay_queue";
    public final static String pay_recharge_delay_exchange = "pay_recharge_delay_exchange";

    /**
     * 操作通知
     */
    public final static String operate_notice_queue = "operate_notice_queue";
    public final static String operate_notice_exchange = "operate_notice_exchange";
    public final static String operate_notice_routingKey = "operate_notice_routingKey";

    /**
     * 招投标--报名时间截止，外部状态改成待审核报名--延迟队列
     */
    public final static String purchase_submit_tender_delay_queue = "purchase_submit_tender_delay_queue";
    public final static String purchase_submit_tender_delay_exchange = "purchase_submit_tender_delay_exchange";
    public final static String purchase_submit_tender_routingKey = "purchase_submit_tender_routingKey";

    /**
     * 招投标--提交资格预审时间开始，外部状态改成待提交资格预审--延迟队列
     */
    public final static String purchase_not_submit_qualifications_check_delay_queue = "purchase_not_submit_qualifications_check_delay_queue";
    public final static String purchase_not_submit_qualifications_check_delay_exchange = "purchase_not_submit_qualifications_check_delay_exchange";
    public final static String purchase_not_submit_qualifications_check_routingKey = "purchase_not_submit_qualifications_check_routingKey";

    /**
     * 招投标--提交资格预审时间截止，外部状态改成待资格预审--延迟队列
     */
    public final static String purchase_not_qualifications_check_delay_queue = "purchase_not_qualifications_check_delay_queue";
    public final static String purchase_not_qualifications_check_delay_exchange = "purchase_not_qualifications_check_delay_exchange";
    public final static String purchase_not_qualifications_check_routingKey = "purchase_not_qualifications_check_routingKey";

    /**
     * 招投标--投标时间开始，外部状态改成待投标--延迟队列
     */
    public final static String purchase_not_submit_tender_delay_queue = "purchase_not_submit_tender_delay_queue";
    public final static String purchase_not_submit_tender_delay_exchange = "purchase_not_submit_tender_delay_exchange";
    public final static String purchase_not_submit_tender_routingKey = "purchase_not_submit_tender_routingKey";

    /**
     * 招投标--投标时间截止，外部状态改成待开标--延迟队列
     */
    public final static String purchase_not_open_tender_delay_queue = "purchase_not_open_tender_delay_queue";
    public final static String purchase_not_open_tender_delay_exchange = "purchase_not_open_tender_delay_exchange";
    public final static String purchase_not_open_tender_routingKey = "purchase_not_open_tender_routingKey";

    /**
     * 招投标--开标时间到，外部状态改成待评标--延迟队列
     */
    public final static String purchase_open_tender_delay_queue = "purchase_open_tender_delay_queue";
    public final static String purchase_open_tender_delay_exchange = "purchase_open_tender_delay_exchange";
    public final static String purchase_open_tender_routingKey = "purchase_open_tender_routingKey";

    /**
     * 招投标--评标时间开始，内部状态改成待提交评标报告--延迟队列
     */
    public final static String purchase_evaluation_tender_delay_queue = "purchase_evaluation_tender_delay_queue";
    public final static String purchase_evaluation_tender_delay_exchange = "purchase_evaluation_tender_delay_exchange";
    public final static String purchase_evaluation_tender_routingKey = "purchase_evaluation_tender_routingKey";

    // ******************************************************采购竞价**********************************************************************
    /**
     * 采购竞价 自动处理到期报名的单据
     */
    public final static String PURCHASE_BIDDING_DELAY_QUEUE = "purchase_bidding_delay_queue";
    public final static String PURCHASE_BIDDING_DELAY_EXCHANGE = "purchase_bidding_delay_exchange";
    public final static String PURCHASE_BIDDING_DELAY_KEY = "purchase_bidding_delay_key";

    /**
     * 采购竞价 自动处理竞价截止时间到期的单据
     */
    public final static String PURCHASE_END_BIDDING_DELAY_QUEUE = "purchase_end_bidding_delay_queue";
    public final static String PURCHASE_END_BIDDING_DELAY_EXCHANGE = "purchase_end_bidding_delay_exchange";
    public final static String PURCHASE_END_BIDDING_DELAY_KEY = "purchase_end_bidding_delay_key";

    // ******************************************************采购询价**********************************************************************
    /**
     * 采购询价 自动处理到期报名的单据
     */
    public final static String PURCHASE_INQUIRY_DELAY_QUEUE = "purchase_inquiry_delay_queue";
    public final static String PURCHASE_INQUIRY_DELAY_EXCHANGE = "purchase_inquiry_delay_exchange";
    public final static String PURCHASE_INQUIRY_DELAY_KEY = "purchase_inquiry_delay_key";





    /*###################################################### OPEN API ####################################################*/

    //****************************************************** 商品服务同步 ******************************************************

    /**
     * 商品信息
     */
    public final static String OPEN_API_COMMODITY_QUEUE = "open_api_commodity_queue";
    public final static String OPEN_API_COMMODITY_EXCHANGE = "open_api_commodity_exchange";
    public final static String OPEN_API_COMMODITY_ROUTINGKEY = "open_api_commodity_routingKey";

    /**
     * 品牌信息
     */
    public final static String OPEN_API_BRAND_QUEUE = "open_api_brand_queue";
    public final static String OPEN_API_BRAND_EXCHANGE = "open_api_brand_exchange";
    public final static String OPEN_API_BRAND_ROUTINGKEY = "open_api_brand_routingKey";


    // ****************************************************** 平台后台服务同步 ******************************************************

    /**
     * 单位信息
     */
    public final static String OPEN_API_UNIT_QUEUE = "open_api_unit_queue";
    public final static String OPEN_API_UNIT_EXCHANGE = "open_api_unit_exchange";
    public final static String OPEN_API_UNIT_ROUTINGKEY = "open_api_unit_routingKey";

    /**
     * 行政区域信息
     */
    public final static String OPEN_API_AREA_QUEUE = "open_api_area_queue";
    public final static String OPEN_API_AREA_EXCHANGE = "open_api_area_exchange";
    public final static String OPEN_API_AREA_ROUTINGKEY = "open_api_area_routingKey";


    // ****************************************************** 售后服务同步 ******************************************************
    /**
     * 退货信息
     */
    public final static String OPEN_API_AS_RETURN_QUEUE = "open_api_as_return_queue";
    public final static String OPEN_API_AS_RETURN_EXCHANGE = "open_api_as_return_exchange";
    public final static String OPEN_API_AS_RETURN_ROUTINGKEY = "open_api_as_return_routingKey";

}
